
<!DOCTYPE html>
<html lang="en">

<head>
    <title>代码编辑</title>
</head>

<body>
<div id="root" style="height: 600px"></div>
<!--
<input type="" name="" id="ipt" value="">
<input type="" name="" id="iptz" value="">
<button type="button" onclick="connectMain()">和主进程通信</button>
-->

<!--<script>
    console.log("xxxxxxxxxxxxxxxxxxxxx"); //
    const ipc = require('electron').ipcRenderer;
    var ipt = document.getElementById('ipt')
    ipcRenderer.on('asynchronous-reply', function(event, arg) {
        ipc.value="xxxx-&#45;&#45;"+arg
        console.log(arg); // prints "pong"
        alert("你好，我是一个警告框！");
    });
    function connectMain() {
        console.log('index.html', ipt.value);
        ipc.send('asynchronous-message', ipt.value);
    }
</script>-->
<script src="../static/js/standalone/babel.js"></script>
<script        >
    debugger
    require('./xxxx.js');

</script>
</body>